package com.example.xiaoyi.weiju.Activity;

import android.os.Bundle;

import com.example.xiaoyi.weiju.Fremant.FragmentHome;
import com.example.xiaoyi.weiju.Fremant.FragmentMenu;
import com.example.xiaoyi.weiju.Fremant.SlidingMenuActivity;

/**
 * Created by Administrator on 2016/7/8.
 */
public class MainActivity extends SlidingMenuActivity {
    private FragmentMenu fragmentMenu;
    private FragmentHome fragmentHome;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        fragmentMenu = new FragmentMenu();
        fragmentHome= new FragmentHome();
        initFragments(fragmentMenu, fragmentHome);
    }

}

